package com.zhongli.devplatform.utils;

import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.profile.HttpProfile;
import com.tencentcloudapi.live.v20180801.LiveClient;

/**
 * @author wy
 * @date 2020/8/7
 */
public class LiveUtils {


    public static LiveClient getLiveClient(){
        Credential cred = new Credential("AKIDbxCAmC0RO5Yq40u3RlqeCgMipgGWRlmY", "d0GI3ZsxtaEgtjIQI4appY1CzDF0YDdf");
        HttpProfile httpProfile = new HttpProfile();
        httpProfile.setEndpoint("live.tencentcloudapi.com");
        ClientProfile clientProfile = new ClientProfile();
        clientProfile.setHttpProfile(httpProfile);
        return new LiveClient(cred, "ap-chengdu", clientProfile);
    }




}
